#

pkgname=thunar-archive-plugin
pkgver=0.3.0
pkgrel=1
pkgdesc="Create and deflate archives in Thunar"
arch=('ppc')
license=('GPL2')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
groups=('xfce4-goodies')
depends=('thunar>=1.2.0' 'exo>=0.5.0' 'libxfce4util' 'hicolor-icon-theme')
makedepends=('intltool' 'pkg-config' 'gettext')
options=('!libtool')
install=${pkgname}.install
source=(http://archive.xfce.org/src/thunar-plugins/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2)
md5sums=('afeb3f1c65a4529dbdadc6e7b349a712')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--localstatedir=/var \
	--enable-nls \
	--disable-static
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}
